package com.icinema.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.icinema.vo.MovieDetail;
import com.icinema.vo.MovieShowing;
import com.icinema.vo.MovieShowingDetail;

@RemoteServiceRelativePath("movie")
public interface MovieService extends RemoteService { 
	public String addMovie(String movieName,String ratingId);
	public List<MovieDetail> getMovies();
	public String addMovieShowing(MovieShowing movieShowing);
	public List<MovieShowingDetail> getMovieShowings();
	public void delete(String encodedKey);
	public void deleteShowingMovie(String encodedKey);
	public Message deleteMovie(String encodedKey);
	public List<MovieShowingDetail> getMovieShowings(int duration);
}
